listbox: Remove rows directly when binding model
authorTimm Bäder <mail@baedert.org>
Wed, 24 May 2017 08:00:15 +0000 (10:00 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 20 Jul 2017 01:27:13 +0000 (21:27 -0400)
commit665c9aba31a8fd473feb9e7113b4d731b5e9b034
tree5b09402b619153ec1e247d4c3dc08574cebc96fe
parenta9f9ef3f5389cdd53c04af9b5569744e5c71e096
listbox: Remove rows directly when binding model

Instead of hopping through 7 different functions to do that, just
remove all rows directly. This also mean we'll only remove rows and not
other children that've been added like placeholders.
gtk/gtklistbox.c